package com.monitor.module.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.monitor.entity.pojo.user.User;
import com.monitor.entity.request.user.UserCompanyRequest;
import com.monitor.entity.response.Rs;
import org.springframework.http.ResponseEntity;

/**
 * 用户server.
 *
 * @author Li Zhiyuan
 * @since 2020-11-10
 */
public interface UserService extends IService<User> {
    //员工注册
    ResponseEntity<Rs<Object>> register(User pojo);

    //企业账号注册
    ResponseEntity<Rs<Object>> superregister(UserCompanyRequest request);
}
